import 'package:flu_framework/common/channel/location/amap_flutter_location.dart';
import 'package:flutter_bugly/flutter_bugly.dart';
import 'package:umeng_common_sdk/umeng_common_sdk.dart';

class Config{
  static const int PAGE_SIZE = 10; // 每页数据条数

  static initBugly(){
    // FlutterBugly.init(
    //   androidAppId: "53f56f05a2",
    //   iOSAppId: "7876baabc7",
    // );
  }

  /// 初始化高德前要同意隐私协议
  static initLocation(){
    // AMapFlutterLocation.setApiKey("1aa0d0efe0423c3aa26c4969080f496f", "iosKey");
    // AMapFlutterLocation.updatePrivacyAgree(true);
    // AMapFlutterLocation.updatePrivacyShow(true, true);
  }
  
  static initUM(){
    UmengCommonSdk.initCommon("6539c3d2b2f6fa00ba6c0953", "", "my_channel");
    UmengCommonSdk.setPageCollectionModeAuto();
  }
}